, also has its own private part), modify this file, will only affect the current user's environment variables.(2) Modify/etc/profile# sudo vi/etc/profileThen add it at the end of the file: Export path= $PATH:/opt/toolschain/4.4.3/bin, and save after modifying it.# Source/etc/profile# arm-linux-gcc-vNote: The profile file under the ETC directory is the file that the operating system executes first when each user logs on, and then gives control to the.
object. The __metatable key has a value, the meta table of object is returned. The value of __metatable), and nil is returned when object has no meta-table--------------------------------------------------------------------------------Ipairs (t)Function: Returns three value iteration function, table, 0Multiple key names and key-value pairs for exhaustive tablessuch as: For i,v in Ipairs (t) doEndEach loop assigns the index I, the key value to VNote:
)Function: returns the metadata table of the specified object (if the metadata table of the object is. if the _ retriable item has a value, the meta table of the object is returned. _ resumable value). If the object does not have a metadata table, Nil is returned.
--------------------------------------------------------------------------------
8. ipairs (t)Function: returns three Value Iteration functions, tables, and 0.Key names and key-value pairs for the exhaustive tableFor example: for I
). If the object does not have a metadata table, Nil is returned.
--------------------------------------------------------------------------------
Ipairs (t)Function: returns three Value Iteration functions, tables, and 0.Key names and key-value pairs for the exhaustive tableFor example: for I, V in ipairs (t) Do
EndEach cycle assigns the index level I and the key value to VNote: This function can only be used for tables accessed by digital indexes, s
DescriptionThere are n nodes on a tree, numbered 1 to N, each with a weight of W.We will ask you to do some work on this tree in the following form:I. Change u t: Changing the weight of the node U to tIi. QMAX u V: ask for the maximum weight of the node on the path from point u to VIii. qsum u V: ask for the weights and values of the nodes on the path from point u to VNote: Nodes on the path from point u to v include U and V itselfInput OutputinputTh
Install Express on the basis of node. JS already installed on your WindowsPart I: Installing ExpressFirst step: Execute npm install-g express-generatorNote: This must be installed, or the Express command will not be found when creating the Express projectStep two: Execute npm install-g ExpressStep three: Execute express-vNote:' V ' is uppercase, if the Express installation is successful, the version number will be displayedPart II: Creating an Express
The main content of this article:1 common operations for ElasticSearch2 ElasticSearchBulk Command
ES REST APIThe Elasticsearch supports a variety of communications, including the HTTP request response service, so you can send HTTP requests with the Curl command and get the JSON return content.Common REST requests are:Check cluster statusCurl Localhost:9200/_cat/health?vCheck node statusCurl Localhost:9200/_cat/nodes?vQuery all IndexesCurl Localhost:9200/_cat/indices?
is this so? When we find the installed Express directory, we find a lot less than the previously familiar express.
What do we do? The speculation is that the Express version is updated, but we don't know how to play the new version. So I had to remove the currently installed express and reinstall the previous version to try it. Test OK.The commands used here areUninstall: NPM Uninstall-g ExpressInstall the specified version: NPM install-g [email protected]View version: Express-
. This parameter is useful and makes samba configuration more flexible. A samba server can simulate multiple servers with different configurations. For example, if you want PC1 (host name) to use its own configuration file when accessing the Samba Server, configure an smb name for PC1 under/etc/samba/host. conf. pc1 file, and then in smb. add: config file =/etc/samba/host/smb to conf. conf. % m. In this way, when PC1 requests to connect to the Samba Server, smb. conf. % m is replaced with smb. c
NDKOfficial website download page: http://developer.android.com/tools/sdk/ndk/index.html after downloading, unzipNote: Download the NDK that matches your operating system number, and download ndk32, because Android's 64-bit support is not long, most of it is 32-bit, the newer the better, the new version will fix many compiler bugs, support more language features.1.2 Configuring NDK Environment parametersOpen ~/.BASHRC File:Export NDK_HOME=~/ANDROID/ANDROID-NDK-R8Export path= $PATH: $NDK _homeEx
Online to find a reason, is because express in 4.0 after the command tool separate out, so after the installation of Express, you have to install express-generator;If you are not using a global installation, you will need to put "installation path \node_modules\.bin" in the environment variable to runInstall Express-generator:--NPM install-g Express-generatorView Express version:-Express-vNote that Express-generator is one.This article comes from the
globally!!!Gulp-vNote here that the installation is successful and there will be two version numbersExecution: Gulp-----------------------------------------------------------ScssSassn a CSS into a dist inside-----------------------------------------------------------Configure recommended CMDFirstCNPM InitInstallationCNPM Install Gulp-connect--save-devCNPM Install Gulp-webserver--save-devCNPM Install Gulp-sass--save-devCNPM Install Gulp-minify-css--sa
/local/2.3 configure cross Environment VariablesSudo gedit/etc/bash. bashrc open the bash. bashrc FileWrite at the end of the file:If [-d/usr/local/arm]; thenPATH =/usr/local/arm/bin: $ {"PATH "}FiSave files2.4 Test the ARM cross-compiling environmentArm-linux-gcc-vNote: If you are using a 64-bit system, there is a solution, www.linuxidc.com is to install lsb-core, which is a 32-bit LibraryCompile a file and test again:# IncludeInt main (void){Printf
memory paging allocableN: low-priority itineraryL: memory is allocated by PAGE and locked in the memory (instant system or memory a I/O)Start: Start Time of the tripTime: execution timeCommand: The executed command.Example:PSPID tty time cmd2791 ttyp0 00:00:00 tcsh3092 ttyp0 00:00:00 PS% PS-PID tty time cmd1? 00:00:03 init2? 00:00:00 kflushd3? 00:00:00 kpiod4? 00:00:00 kswapd5? 00:00:00 mdrecoveryd.......% PS-AuxUser PID % CPU % mem vsz RSS tty stat Start Time CommandRoot 1 0.0 0.7 1096 472? S
typical interface Time Series4. timing requirements in IIS Bus, any device can become the main device of the system by providing the necessary clock signal, and the subordinate device obtains its internal clock signal through the external clock signal, this means that the transmission delay between the master device and the data and the command selection signal must be emphasized. The total delay is mainly composed of two parts:1. latency between the external clock and the internal clock of the
.
VMethod: refers to the functional unit of an object.
VMessage:
Software Objects interact and communicate with each other by passing messages. A message consists of three parts:
Message recipient
Method to be taken for the recipient
Parameters required by the Method
Class Definition syntax Specification
Strict Class Definition and Modifier
[Class modifier]Class Name[Extends parent class name] [implements Interface Name List]
{
Variable definition and initialization;
Method definit
Cause the command tool was split up in the latest express4.0 releaseMethod One: Uninstall the latest version to add the old versionUninstall: NPM Uninstall-g ExpressInstall the specified version: NPM install-g [email protected]View version: Express-vNote that the V in Express-v is capitalized, otherwise it will not be recognized in many versionsMethod Two: Use the new versionInstall a command tool with the following command:NPM install-g Express-gener
Download the MAVEN installation package and Maven's Eclipse pluginApache-maven-3.3.9-bin.zipEclipse-maven-plugin.zip:http://pan.baidu.com/s/1mizzYR2Ii. Setting the environment variables for MAVEN Maven_home=d:\job\apache-maven-3.3.9path=%maven_home%\bin;Third, see if MAVEN is installed successfullyMvn-vNote: The prerequisite for installing MAVEN is to install the JDK firstIv. installation of the Maven plugin for EclipseCreate a new Links folder und
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.